import * as ActionTypes from './ActionType'

const reducer = (state = [], action) => {
    switch (action.type) {
        case ActionTypes.ACE:
            return [
                ...state,
                {
                    objCfg: action.objCfg,
                    ArrObj: action.ArrObj,
                    xiugai: action.xiugai,
                    index: action.index
                }
            ]
        default:
            return state;
    }
}
export default reducer